package ae.pcfc.cldos.online.common.clddb.dao.provider;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;
import org.springframework.stereotype.Repository;

import ae.pcfc.cldos.online.common.clddb.dao.FnpDefaultParamsDAO;
import ae.pcfc.cldos.online.common.clddb.domain.FnpDefaultParams;
import ae.pcfc.cldos.online.common.dao.GenericDAO;

/**
 * @author akhader
 *
 */
@Repository
public class FnpDefaultParamsDAOImpl extends GenericDAO implements FnpDefaultParamsDAO{

	/**
	 * @return List<FnpDefaultParams>
	 * @Description : Method to retreive all default param values
	 */
	@SuppressWarnings("unchecked")
	public List<FnpDefaultParams> getDefaultParams(){
			DetachedCriteria criteria = DetachedCriteria.forClass(FnpDefaultParams.class);
			return (List<FnpDefaultParams>)getListByCriteria(criteria);
	}
	
}
